package cn.sdfykjyxgs.synclient.base;

import lombok.Data;

@Data
public class HttpResult<T> {

    private String msg;
    private Integer code = 0;
    private T data;

    public HttpResult(String msg, Integer code, T data) {
        this.msg = msg;
        this.code = code;
        this.data = data;
    }

    public HttpResult() {
    }

    public HttpResult(Integer code) {
        this.code = code;
    }
}
